<div class="topimg">
  <img align="center" src="/images/user_img.png"/>
</div>
<div class="search">
  <h3>用户登录</h3>
<% form_tag session_path do -%>
<p><label for="login">登录名：</label>
<%= text_field_tag 'login' %></p>

<p><label for="password">密 码：</label>
<%= password_field_tag 'password' %></p>
<!-- Uncomment this if you want this functionality-->
<p><label for="remember_me">记住我:</label>
<%= check_box_tag 'remember_me' %></p>

<p class="center"><%= image_submit_tag "login_btn.png" %></p>
<% end -%>
</div>